package cn.toolck.minitomcat.service;

import cn.toolck.minitomcat.container.Engine;
import cn.toolck.minitomcat.map.Mapper;

import java.util.ArrayList;
import java.util.List;

/**
 * @ClassName StandService
 * @Description TODO
 * @Author Toolck Rin
 * @Date 2021/3/17 23:25
 * @Version 1.0
 **/
public class Service {

    private String name;
    private List<Connector> connectors = new ArrayList<>();
    private Engine engine;

    public List<Connector> getConnectors() {
        return connectors;
    }

    public void setConnectors(List<Connector> connectors) {
        this.connectors = connectors;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Engine getEngine() {
        return engine;
    }

    public void setEngine(Engine engine) {
        this.engine = engine;
    }
}
